<script setup>
import {moneyStore} from "@/stores/money.js";
let ms=moneyStore()
const add=(arg)=>{
  ms.add(arg)
}
const sub=(arg)=>{
  ms.sub(arg)

}
</script>

<template>
  <div>
    <button @click="add(100)">增加</button><br>
    <button @click="sub(100)">减少</button><br>
  </div>

</template>

<style scoped lang="scss">

</style>